package com.zeng.pojo.restmodel;

import com.zeng.annotation.restmodel.RestModel;
import com.zeng.annotation.restmodel.RestModelField;
import com.zeng.config.restmodel.RestTBCreateMode;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 用户信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@RestModel(tbModel = RestTBCreateMode.EVERY)
public class UserInfo extends BaseRestModel {
    @RestModelField(unique = true)
    private String uname;

    private String pwd;

    private LocalDateTime registerTime;

    private String remark;
}
